package com.dmap.admin.controller.backgroundv2.param;

import com.dmap.base.param.BaseParam;

import java.io.Serializable;

/**
 * \* User: helei
 * \* Date: 25/05/18
 * \* Description:
 * \
 */
public class ProjectSelectParam extends BaseParam implements Serializable {
    private Integer companyType;//必填， 公司类型：1.总公司， 2分公司
    private Integer userType;//必填， 用户类型：1.公司管理员，2.部门管理员，3.普通用户
    private String searchCompanyId;//选填，根据CompanyId进行筛选
    private String searchAppId;//选填，根据AppId进行筛选
    private String searchKeyword;//选填，搜索用关键字，根据以下字段模糊搜索： 所属公司名称
    //选填，传参数到后台，排序（默认正序）：APP编号projectId, APP名称projectName, 所属公司名称companyName,
    //设备固件编号firmware, 设备名称deviceName, 创建时间（正反排序）createTime, 最后更新时间（正反排序)updateTime
    private String sortField;
    private int order;//选填，0 asc正序, 1 desc倒序

    public String getSearchAppId() {
        return searchAppId;
    }

    public void setSearchAppId(String searchAppId) {
        this.searchAppId = searchAppId;
    }

    public Integer getCompanyType() {
        return companyType;
    }

    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getSearchCompanyId() {
        return searchCompanyId;
    }

    public void setSearchCompanyId(String searchCompanyId) {
        this.searchCompanyId = searchCompanyId;
    }

    public String getSearchKeyword() {
        return searchKeyword;
    }

    public void setSearchKeyword(String searchKeyword) {
        this.searchKeyword = searchKeyword;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}